package com.group5.onlinegame.entity;

import java.sql.Timestamp;
import java.util.List;

public class RechargeRecording {
    private Integer id;
    private String orderid;//订单编号
    //private Integer userid;//用户ID
    //private Integer rechargeid;//充值卡id
    private Integer beforegolds;//充值前的金币
    private Timestamp time;//充值时间
    private Integer channel ;//充值渠道（代理商id）


    private User users;
    private Recharge recharge;


    public RechargeRecording(Integer id, String orderid, Integer beforegolds, Timestamp time, Integer channel, User users, Recharge recharge) {
        this.id = id;
        this.orderid = orderid;
        this.beforegolds = beforegolds;
        this.time = time;
        this.channel = channel;
        this.users = users;
        this.recharge = recharge;
    }

    public User getUsers() {
        return users;
    }

    public void setUsers(User users) {
        this.users = users;
    }

    public Recharge getRecharge() {
        return recharge;
    }

    public void setRecharge(Recharge recharge) {
        this.recharge = recharge;
    }

    public RechargeRecording() {
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }



    public Integer getBeforegolds() {
        return beforegolds;
    }

    public void setBeforegolds(Integer beforegolds) {
        this.beforegolds = beforegolds;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }
}
